package com.wzdigit.wms.basic.mapper.core.mid;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import com.wzdigit.wms.basic.domain.mid.IfTransferDtl;
import com.wzdigit.wms.basic.client.response.transfer.IfTransferManageDtlResponse;

import java.util.List;

/**
 * <p>
 * 接口中间表-调拨单明细 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-03-17
 */
@MyBatisRepository
public interface IfTransferDtlMapper extends BaseMapper<IfTransferDtl> {

	/**
	 * 获取调拨中间单的明细
	 * @param transferHeaderId
	 * @return
	 */
	List<IfTransferManageDtlResponse> getListIfTransferManageDtl(Integer ifTransferHeaderId);
	
	/**
	 * 置空处理结果和状态
	 * @param ifTransferDtlId
	 * @return
	 */
	int emptyProcess(Integer ifTransferDtlId);
}
